﻿//#include <stdio.h>

//int main()
//{
//	int num = 10;
//	num = 20;
//	printf("num=%d\n", num);
//	return 0;
//}
#include <stdio.h>
//enum Sex
//{
//	MALE=3,
//	FEMALE,
//	SECRET
//};
//int main()
//{
//	printf("%d\n", MALE);
//	printf("%d\n", FEMALE);
//	printf("%d\n", SECRET);
//	return 0;
//}

#include <string.h>

int main()
{
	char arr1[] = "abc";
	char arr2[] = {'a','b','c'};//没有结束标志

	//int len = strlen("abc");
	//printf("%d\n", len);

	printf("%d\n", strlen(arr1));
	printf("%d\n", strlen(arr2));//随机值，直到找到\0停止

	return 0;
}